package com.lyf.scm.plan.domain.service;

import com.github.pagehelper.PageInfo;
import com.lyf.scm.common.model.ExcelExportDataDTO;
import com.lyf.scm.plan.api.dto.*;

import java.util.List;

/**
 * 需求计划
 *
 * @author wangchlei
 * @date 2020/10/26
 */
public interface RequirementPlanService {
    PageInfo<RequirementPlanInfoDTO> listWeekBySelective(RequirementPlanDTO requirementPlanDTO);

    void updateConfirmQty(List<RequirementConfirmationDTO> requirementConfirmationDTOs,Long unitType);

    EChartsDTO eChartsData(RequirementPlanDTO requirementPlanDTO);

    /**
     * 导出excel
     * @param requirementPlanDTO    需求计划dto
     * @param type                  类型
     */
    ExcelExportDataDTO exportExcel(RequirementPlanDTO requirementPlanDTO, Integer type);

    void test();
}
